package com.example.zhugenew.bean.newhouses;

import com.google.gson.annotations.SerializedName;

import java.util.List;

public class NewHouseImageBean {

    /**
     * code : 200
     * message : 返回成功
     * error : 0
     * data : [{"city_short":"bj","house_type":3,"house_type_text":"新房","redirect_platform":1,"houseId":"117114","house_id":"117114","title":"中海寰宇天下|天赋","abstract":"中海寰宇天下|天赋","click_able":1,"image":{"common":{"width":"670","height":"228","size":["670","228"],"url":"http://img.zgsta.zhuge.com/xfcrm/2021-04-15/a128700feef423e3f0752929bbfdc846.jpeg"}},"click":"http://api.zhuge.com/newhouse/c?mid=24942&ct=1618934400&bi=4352&c=10111103103&pi=27324&u=4h4rzaS7xf7nbFH0cM8u8Q%3D%3D"}]
     * traceId : 745b3b8e0dfb4e37b7aa9bf385328cec
     */

    private int code;
    private String message;
    private int error;
    private String traceId;
    private List<DataBean> data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getError() {
        return error;
    }

    public void setError(int error) {
        this.error = error;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        /**
         * city_short : bj
         * house_type : 3
         * house_type_text : 新房
         * redirect_platform : 1
         * houseId : 117114
         * house_id : 117114
         * title : 中海寰宇天下|天赋
         * abstract : 中海寰宇天下|天赋
         * click_able : 1
         * image : {"common":{"width":"670","height":"228","size":["670","228"],"url":"http://img.zgsta.zhuge.com/xfcrm/2021-04-15/a128700feef423e3f0752929bbfdc846.jpeg"}}
         * click : http://api.zhuge.com/newhouse/c?mid=24942&ct=1618934400&bi=4352&c=10111103103&pi=27324&u=4h4rzaS7xf7nbFH0cM8u8Q%3D%3D
         */

        private String city_short;
        private int house_type;
        private String house_type_text;
        private int redirect_platform;
        private String houseId;
        private String house_id;
        private String title;
        @SerializedName("abstract")
        private String abstractX;
        private int click_able;
        private ImageBean image;
        private String click;

        public String getCity_short() {
            return city_short;
        }

        public void setCity_short(String city_short) {
            this.city_short = city_short;
        }

        public int getHouse_type() {
            return house_type;
        }

        public void setHouse_type(int house_type) {
            this.house_type = house_type;
        }

        public String getHouse_type_text() {
            return house_type_text;
        }

        public void setHouse_type_text(String house_type_text) {
            this.house_type_text = house_type_text;
        }

        public int getRedirect_platform() {
            return redirect_platform;
        }

        public void setRedirect_platform(int redirect_platform) {
            this.redirect_platform = redirect_platform;
        }

        public String getHouseId() {
            return houseId;
        }

        public void setHouseId(String houseId) {
            this.houseId = houseId;
        }

        public String getHouse_id() {
            return house_id;
        }

        public void setHouse_id(String house_id) {
            this.house_id = house_id;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getAbstractX() {
            return abstractX;
        }

        public void setAbstractX(String abstractX) {
            this.abstractX = abstractX;
        }

        public int getClick_able() {
            return click_able;
        }

        public void setClick_able(int click_able) {
            this.click_able = click_able;
        }

        public ImageBean getImage() {
            return image;
        }

        public void setImage(ImageBean image) {
            this.image = image;
        }

        public String getClick() {
            return click;
        }

        public void setClick(String click) {
            this.click = click;
        }

        public static class ImageBean {
            /**
             * common : {"width":"670","height":"228","size":["670","228"],"url":"http://img.zgsta.zhuge.com/xfcrm/2021-04-15/a128700feef423e3f0752929bbfdc846.jpeg"}
             */

            private CommonBean common;

            public CommonBean getCommon() {
                return common;
            }

            public void setCommon(CommonBean common) {
                this.common = common;
            }

            public static class CommonBean {
                /**
                 * width : 670
                 * height : 228
                 * size : ["670","228"]
                 * url : http://img.zgsta.zhuge.com/xfcrm/2021-04-15/a128700feef423e3f0752929bbfdc846.jpeg
                 */

                private String width;
                private String height;
                private String url;
                private List<String> size;

                public String getWidth() {
                    return width;
                }

                public void setWidth(String width) {
                    this.width = width;
                }

                public String getHeight() {
                    return height;
                }

                public void setHeight(String height) {
                    this.height = height;
                }

                public String getUrl() {
                    return url;
                }

                public void setUrl(String url) {
                    this.url = url;
                }

                public List<String> getSize() {
                    return size;
                }

                public void setSize(List<String> size) {
                    this.size = size;
                }
            }
        }
    }
}
 